package com.hk.migration.db.hk;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * 用户课次表
 */
@Data
@Table(name = "book_user_package")
public class BookUserPackage implements Serializable {
    /**
     * 用户ID
     */
    @Id
    @Column(name = "`uid`")
    private Integer uid;

    /**
     * 常规课次数
     */
    @Column(name = "routine_num")
    private Integer routineNum;

    /**
     * 常规课已经选课次
     */
    @Column(name = "routine_select_num")
    private Integer routineSelectNum;

    /**
     * 常规课已经完成课次
     */
    @Column(name = "routine_end_num")
    private Integer routineEndNum;

    /**
     * 直播课次数
     */
    @Column(name = "living_num")
    private Integer livingNum;

    /**
     * 直播课已选次数
     */
    @Column(name = "living_select_num")
    private Integer livingSelectNum;

    /**
     * 直播课结束次数
     */
    @Column(name = "living_end_num")
    private Integer livingEndNum;

    /**
     * 外教辅修课次数
     */
    @Column(name = "minor_num")
    private Integer minorNum;

    /**
     * 外教辅修选课次数
     */
    @Column(name = "minor_select_num")
    private Integer minorSelectNum;

    /**
     * 外教辅修课结束次数
     */
    @Column(name = "minor_end_num")
    private Integer minorEndNum;

    /**
     * 请假次数
     */
    @Column(name = "leave_num")
    private Integer leaveNum;

    /**
     * 中教课
     */
    @Column(name = "chinese_num")
    private Integer chineseNum;

    /**
     * 中教已选择
     */
    @Column(name = "chinese_select_num")
    private Integer chineseSelectNum;

    /**
     * 中教结束
     */
    @Column(name = "chinese_end_num")
    private Integer chineseEndNum;

    /**
     * 创建时间
     */
    @Column(name = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;

    /**
     * 创建人ID
     */
    @Column(name = "creator_id")
    private Integer creatorId;

    /**
     * 创建人名称
     */
    @Column(name = "creator_name")
    private String creatorName;

    /**
     * 修改人ID
     */
    @Column(name = "modifier_id")
    private Integer modifierId;

    /**
     * 修改人名称
     */
    @Column(name = "modifier_name")
    private String modifierName;

    /**
     * 操作来源:默认0,1-新管理后台,2-定时器
     */
    @Column(name = "`source`")
    private Integer source;

    /**
     * 补课次数
     */
    @Column(name = "fill_num")
    private Integer fillNum;

    /**
     * 补课数量
     */
    @Column(name = "makeup_lesson_num")
    private Integer makeupLessonNum;

    /**
     * 已选补课数量
     */
    @Column(name = "makeup_lesson_select_num")
    private Integer makeupLessonSelectNum;

    /**
     * 已完结补课数量
     */
    @Column(name = "makeup_lesson_end_num")
    private Integer makeupLessonEndNum;

    /**
     * 试听课课时数
     */
    @Column(name = "demo_class_hour_num")
    private Integer demoClassHourNum;

    /**
     * 试听课已使用课时数
     */
    @Column(name = "demo_class_hour_used_num")
    private Integer demoClassHourUsedNum;

    private static final long serialVersionUID = 1L;
}